package com.vshop.service.impl;

import com.vshop.entity.comentity.DevicePackagesRelation;
import com.vshop.mapper.DevicePackagesRelationMapper;
import com.vshop.service.DevicePackagesRelationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional(rollbackFor = Exception.class)
public class DevicePackagesRelationServiceImpl implements DevicePackagesRelationService {
    @Resource
    DevicePackagesRelationMapper devicePackagesRelationMapper;

    @Override
    public int findCountByCondition(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation(relation);
    }


    @Override
    public int findCountByCondition_0(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_0(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_0(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_0(relation);

    }

    @Override
    public int findCountByCondition_1(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_1(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_1(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_1(relation);
    }

    @Override
    public int findCountByCondition_2(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_2(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_2(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_2(relation);
    }

    @Override
    public int findCountByCondition_3(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_3(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_3(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_3(relation);
    }

    @Override
    public int findCountByCondition_4(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_4(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_4(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_4(relation);
    }

    @Override
    public int findCountByCondition_5(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_5(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_5(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_5(relation);
    }

    @Override
    public int findCountByCondition_6(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_6(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_6(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_6(relation);
    }

    @Override
    public int findCountByCondition_7(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_7(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_7(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_7(relation);
    }

    @Override
    public int findCountByCondition_8(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_8(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_8(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_8(relation);
    }

    @Override
    public int findCountByCondition_9(String packageCode, String partnerCode, String deviceId) {
        return devicePackagesRelationMapper.findCountByCondition_9(packageCode, partnerCode, deviceId);
    }

    @Override
    public void storageRelation_9(DevicePackagesRelation relation) {
        devicePackagesRelationMapper.storageRelation_9(relation);
    }


}
